Component org.nuxeo.ecm.platform.picture.actions
In bundle org.nuxeo.ecm.platform.picture.jsf
Contributions
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.ecm.platform.picture.actions">
<require>org.nuxeo.ecm.platform.actions</require>
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
point="actions">
<action id="triggerContentViewSlideshow" order="70"
label="label.contentview.trigger.slideshow" type="template">
<category>CONTENT_VIEW_ACTIONS</category>
<properties>
<property name="template">
/incl/action/content_view_slideshow.xhtml
</property>
</properties>
<filter-id>contentViewShowSlideshow</filter-id>
</action>
<action id="pictureRotate90left" order="100" type="link"
link="#{pictureManager.rotate90left}"
icon="/icons/page_rotateleft.gif" label="action.picture.rotateLeft">
<category>IMAGE_PROCESSING</category>
<filter-id>hasPictureFacet</filter-id>
</action>
<action id="pictureRotate90right" order="200" type="link"
link="#{pictureManager.rotate90right}"
icon="/icons/page_rotateright.gif" label="action.picture.rotateRight">
<category>IMAGE_PROCESSING</category>
<filter-id>hasPictureFacet</filter-id>
</action>
</extension>
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
point="filters">
<filter id="grantpicturebook">
<rule grant="true">
<type>PictureBook</type>
</rule>
</filter>
<!-- not used since 5.5, keep it for compatibility -->
<filter id="grantpicture">
<rule grant="true">
<type>Picture</type>
</rule>
</filter>
<filter id="create" append="true">
<rule grant="true">
<permission>AddChildren</permission>
<type>PictureBook</type>
</rule>
</filter>
<filter id="importFile" append="true">
<rule grant="true">
<permission>AddChildren</permission>
<type>PictureBook</type>
</rule>
</filter>
<filter id="contentViewShowSlideshow">
<rule grant="true">
<condition>
#{nxu:test(empty showSlideshow,
contentView.currentResultLayout.showSlideshow,
showSlideshow)}
</condition>
</rule>
</filter>
</extension>
</component>